package com.breadenglish.cms.api.app.domain.db;

import com.breadenglish.cms.api.app.domain.query.Sort;

import java.util.Date;

/**
 * 音频表
 * <p>
 * User: guoyao
 * DateTime: 2015-12-22 20:06:38
 */
public class Audio extends Sort {

    // 音频ID
    private Long audioId;
    // 标题
    private String audioTitle;
    // 类型
    private Long audioType;
    // 关键词
    private String keyword;
    // 微略图ID
    private Long fileId;
    // 时长
    private String duration;
    // 发布时间
    private Date deliveryTime;
    // 描述
    private String details;
    // 状态
    private Long state;
    // 建立时间
    private Date createTime;
    // 更新时间
    private Date updateTime;
    // 删除标记
    private Long delTag;
    // 文件数据[图片]
    private String fileDate;
    // MP3文件Id
    private Long videoId;

    //    @DateTimeFormat(pattern="yyyy-MM-dd")
    private String startDate;
    //    @DateTimeFormat(pattern="yyyy-MM-dd")
    private String endDate;

    public Audio() {
    }

    public Audio(Long state, Long delTag) {
        this.state = state;
        this.delTag = delTag;

    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public Date getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Long getAudioId() {
        return audioId;
    }

    public void setAudioId(Long audioId) {
        this.audioId = audioId;
    }

    public String getAudioTitle() {
        return audioTitle;
    }

    public void setAudioTitle(String audioTitle) {
        this.audioTitle = audioTitle;
    }

    public Long getAudioType() {
        return audioType;
    }

    public void setAudioType(Long audioType) {
        this.audioType = audioType;
    }

    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getDelTag() {
        return delTag;
    }

    public void setDelTag(Long delTag) {
        this.delTag = delTag;
    }

    public String getFileDate() {
        return fileDate;
    }

    public void setFileDate(String fileDate) {
        this.fileDate = fileDate;
    }

    public Long getVideoId() {
        return videoId;
    }

    public void setVideoId(Long videoId) {
        this.videoId = videoId;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }
}
